package Kuaishou;

/**
 * 时间系数
 * @author leiwenkang <leiwenkang@kuaishou.com>
 * Created on 2020-12-29
 */
public class Test25 {
    public static void main(String[] args) {
        String times = "0.029646569102006404,0.010956965793729428,0.009443817634466016,0.006944207982257211,0.00784123783106627,0.014535834488626468,0.028666420836548294,0.04274753551260021,0.04812080123435318,0.05338269660022579,0.058321686631021566,0.06567546647764477,0.06992137296210575,0.060982955780374465,0.05805041729190251,0.05517461413407093,0.052780357081120444,0.053110306934076035,0.05141253134241058,0.053976361587179174,0.05607249838613197,0.05051047848889246,0.03859774323834438,0.023127122648845682";
        String[] timeArray = times.split(",");
        double sum = 0;
        for (int i = 19; i < 24; i++) {
            double time = Double.parseDouble(timeArray[i]);
            sum += time;
        }


        System.out.println(sum);
    }
}
